package cn.kgc.springbootvuefaq.service;

import cn.kgc.springbootvuefaq.mapper.ClassesMapper;
import cn.kgc.springbootvuefaq.pojo.Classes;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
@Service
public class ClassesServiceImpl implements ClassesService{
    @Resource
    ClassesMapper mapper;
    @Override
    public List<Classes> queryAll() {
        return mapper.selectByExample(null);
    }
}
